package com.itcam.reflect_.msb03;

import java.io.Serializable;

/**
 * Author:Cammy.Wu
 * Date:2024-05-16
 * Description:
 */
/**
 *
 */
// 作为一个父类
public class Person implements Serializable {
    // 属性
    private int age;
    public String name;

    // 方法
    private void eat() {
        System.out.println("Person——eat");
    }

    private void sleep() {
        System.out.println("Person——sleep");
    }
}
